public class Main {
    public static void main(String[] args) {
        // 创建Person对象
        Person person1 = new Person("Alice", 25, "Female", "Engineer", "123 Main St");
        Person person2 = new Person("Bob", 30, "Male");

        // 调用Person对象的方法
        person1.introduce();
        person1.work();
        person1.celebrateBirthday();

        System.out.println();

        person2.introduce();
        person2.work();
        person2.celebrateBirthday();

        System.out.println();

        // 创建Car对象
        Car car1 = new Car("Toyota", "Camry", 2022, "Red", 5000);
        Car car2 = new Car("Honda", "Accord", 2019);

        // 调用Car对象的方法
        car1.startEngine();
        car1.drive(100);
        car1.displayInfo();

        System.out.println();

        car2.startEngine();
        car2.drive(50);
        car2.displayInfo();
    }
}